// 二维数组 数组指针 访问指针法
#include <stdio.h>

int main(int argc, char **argv)
{
    int arr[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12};
    int (*p)[4] = NULL;
    p = arr;
    int i = 0;
    int j = 0;

    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 4; j++)
        {
            printf("%d ", *(*(p + i) + j));

        }
        printf("\n");
    }

    return 0;
}